Xbasic

helper::GoogleSheetAppendSheetRaw Method

Syntax

AppendSheetRaw as L(sheetname as C,values as C[, range as C])

Arguments

sheetnameCharacter

Name of sheet to append raw data to.

valuesCharacter

JSON of the form an array of arrays of values.

rangeCharacter

Optional range, if we don't want to use the first column, and last unused row.

Returns

resultLogical

Returns true if rows were appended.

Description

Append cells in first available empty space in sheet. Values are specified as JSON array of arrays . Optional range can provide a hint of where to start.

Example

dim gs as helper::GoogleSheet
gs.namedresource= "<namedresource>"
gs.spreadsheet= "<spreadsheetid>"
gs.AppendSheetRaw("customers","[[\"billy\",\"kid\"]]")